package com.ycl.bookstore.service;

import com.ycl.bookstore.common.Result;
import com.ycl.bookstore.pojo.UserOrder;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *
 */
public interface UserOrderService extends IService<UserOrder> {

    /**
     * 得到用户订单列表
     * @param pageNo
     * @param pageSize
     * @param orderId
     * @return
     */
    Result getUserOrderList(Long pageNo, Long pageSize, Long orderId);


    /**
     * 删除用户订单消息
     * @param orderId
     * @return
     */
    Result deleteUserOrder(Long orderId);
}
